#ifndef __USART3_H_
#define __USART3_H_

#include "Includes.h"
#include "stm32f10x.h"

#define USART3_DMA_BUF_LEN     (50u)


typedef uint8_t (*comRxCallback)(uint8_t *pData, uint8_t rxLen);

void usart3_init(void);
uint8_t uart3_dma_send(uint8_t *p_txbuf, uint32_t tx_len, comRxCallback cbk);

#endif

